package com.lsege.service.backstage;

import com.lsege.entity.backstage.MallOrder;
import com.lsege.mapper.backstage.MallOrderMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by Administrator on 2017/7/6.
 */
@Service
public class MallOrderServiceImpl implements MallOrderService {
    @Autowired
    MallOrderMapper mallOrderMapper;
    @Override
    public List<MallOrder> getMallOrderList(){
        return mallOrderMapper.queryOrderList();
    }
    @Override
    public Long getMallOrderCount(){
        return mallOrderMapper.queryOrderCount();
    }
}
